Total Complexity | 27 |
Dependencies | 3 |
Dependents | 2 |
Total lines | 248 |
Lines of code | 97 |
Logical lines of code | 52 |
Comment lines | 101 |
Methods | 17 |
Properties | 10 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_item_cost() | 59 | 5 | 16 | |
get_contents_weight() | 66 | 3 | 9 | |
get_contents_cost() | 70 | 2 | 6 | |
calculate_contents_weight() | 69 | 2 | 7 | |
calculate_contents_cost() | 69 | 2 | 7 | |
get_contents_items_count() | 69 | 2 | 7 | |
reset_contents() | 70 | 1 | 6 | |
set_meta() | 76 | 1 | 4 | |
get_currency() | 82 | 1 | 3 | |
get_destination_address() | 82 | 1 | 3 | |
__construct() | 67 | 1 | 8 | |
get_non_filtered_contents() | 82 | 1 | 3 | |
filter_contents() | 70 | 1 | 6 | |
set_weight_rounding_precision() | 81 | 1 | 3 | |
get_item_weight() | 78 | 1 | 3 | |
get_contents() | 82 | 1 | 3 | |
get_meta() | 79 | 1 | 3 |